STEP 8: Let's create a display to show the value of roll_2.

  • Go to LOGIC and then . Drag out Variable Display. Drop it at the bottom of your program.
  • Find the variable argument in .Display(). Change it to roll_2.
  • Change the x-coordinate in .Display() to 200.
  • Finally, change the name of the second display from my_display to roll_2_score.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)